/**
 * 获取当前时间
 * @return {string}
 */
export default () => {
    const D = new Date();
    const year = D.getFullYear();
    const mouth = D.getMonth() + 1;
    const day = D.getDate();
    const hour = D.getHours();
    const minute = D.getMinutes();
    const second = D.getSeconds();
    return `${year}.${mouth < 10 ? `0${mouth}` : mouth}.${day < 10 ? `0${day}` : day} ${hour < 10 ? `0${hour}` : hour}:${minute < 10 ? `0${minute}` : minute}:${second < 10 ? `0${second}` : second}`;
};
